home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14410 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: newsstand.tc.umn.edu!usenet
  2. From: "Lawrence L. Gaalswyk" <gaal0004@maroon.tc.umn.edu>
  3. Newsgroups: comp.lang.c,comp.lang.pascal.borland,comp.lang.pascal.ansi-iso
  4. Subject: I'd like some UART & serial communication routines
  5. Date: Sun, 14 Apr 96 10:46:14 CST
  6. Organization: University of Minnesota
  7. Message-ID: <51967.gaal0004@maroon.tc.umn.edu>
  8. Reply-To: <gaal0004@maroon.tc.umn.edu>
  9. NNTP-Posting-Host: dialup-3-190.gw.umn.edu
  10. X-Minuet-Version: Minuet1.0_Beta_18A
  11. X-POPMail-Charset: English
  12. Cc: gaal0004@maroon.tc.umn.edu
  13.  
  14. Hi.  I've never posted to News Groups before, so please excuse me if 
  15. I break any rules of netiquette.
  16.  
  17. I am looking for some free Borland C/C++ or Turbo Pascal routines 
  18. to program the 8250/8251/16550 UART registers and to read and write 
  19. characters to comm ports on 80x86's.  Any help would be appreciated.
  20.  
  21. Basically, it would be great if I had self-contained modules that I 
  22. can call from a Pascal progam to initialize the UART, set the 
  23. data/parity/stop bits/speed/etc, and, of course, to read 
  24. and write a character, and to set and check the handshake signals (DTR,
  25. RTS,etc.).  Hopefully that's not too much to ask.
  26.  
  27. I've programmed in several languages, including C and Pascal.  I've 
  28. also written Motorola 68000 CPU assembly code to communicate with a 
  29. Motorola MC68681 DUART circuit I built.  However, I have never written 
  30. C or Pascal to talk to the 80x86-type UART and PC comm ports, which is 
  31. what I now must do (and I must do it soon!).
  32.  
  33. Thank you,
  34.  
  35.  
  36. Lawrence L. Gaalswyk
  37.  
  38. gaal004@maroon.tc.umn.edu
  39. OR
  40. llg@cypress.com
  41.